<style>
	.parse{
		padding: 30upx;
	}
	image{
		width: 100% !important;
	}
</style>
<template>
    <view class="page m-pf">
		<view class="parse">
			<uParse :content="content" @preview="preview" />
		</view>
    </view>
</template>

<script>
	import henglang from '@/common/common.js';
	import uParse from '@/components/uParse/src/wxParse.vue';
    export default {
        data() {
            return {
				content:'正在加载中'
            }
        },
		components: {
			uParse
		},
		methods: {
			preview(src, e){
			},
		},
        onLoad({
            id
        }) {
			let that = this
            henglang.get('activity/getView',{id: id},false,function(res){
				if(res.data.code == 0){
					that.content = res.data.data.content;
				}else{
					that.content = res.data.msg;
				}
            });
        }

    }
</script>
